using Digitalmes.Application.Scada.Models;

namespace Digitalmes.Application.Scada.Services;

/// <summary>
/// 关键物料扫码服务。
/// </summary>
public interface IScanKeyService : IApplicationService
{
    /// <summary>
    /// 关键物料扫码。
    /// </summary>
    /// <param name="input">扫码参数。</param>
    /// <returns></returns>
    Task<ScadaResult> ScanAsync(ScanKeyInput input, CancellationToken cancellationToken = default);
}
